<template>
  <div>
    <Child ref="childRef"></Child>
  </div>
</template>

<script>
  import Child from './Child.vue'
  export default {
    components: {
      Child
    },

    mounted() {
      console.log(this.$refs['childRef'].x)
    },
  }
</script>

<style lang="less" scoped>

</style>
